package com.cgc.venus.server.app.bean;

/**
 * Created by 业哥 on 2017/11/28.
 * 应用自动伸缩,参数设置
 */
public class AppManageHpaBean {
    // 应用名称(数据库)
    private String appName;
    // 应用名称(k8s)
    private String appNameKube;
    // 应用所属空间名称
    private String namespace;
    // 伸缩最小实例数
    private int minReplicas;
    // 伸缩最大的实例数
    private int maxReplicas;
    // 目标的CPU百分比
    private int targetCpuPercent;

    public String getAppName() {
        return appName;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }

    public String getAppNameKube() {
        return appNameKube;
    }

    public void setAppNameKube(String appNameKube) {
        this.appNameKube = appNameKube;
    }

    public String getNamespace() {
        return namespace;
    }

    public void setNamespace(String namespace) {
        this.namespace = namespace;
    }

    public int getMinReplicas() {
        return minReplicas;
    }

    public void setMinReplicas(int minReplicas) {
        this.minReplicas = minReplicas;
    }

    public int getMaxReplicas() {
        return maxReplicas;
    }

    public void setMaxReplicas(int maxReplicas) {
        this.maxReplicas = maxReplicas;
    }

    public int getTargetCpuPercent() {
        return targetCpuPercent;
    }

    public void setTargetCpuPercent(int targetCpuPercent) {
        this.targetCpuPercent = targetCpuPercent;
    }
}
